import assessCheckApi from './api'
import { axios } from '@/utils/request'
import router from '@/router/index'
import blobType from '@/common/blobType'
var fywflcode = '001002'
  export function spcyqueryQyWjclml(params){
    return axios({
      url: assessCheckApi.spcyqueryQyWjclml,
      method:'get' ,
      params:params?{...params,fywflcode:fywflcode?fywflcode:(params.fywflcode?params.fywflcode:'')}:{},
      url_1:'outside'
    })
  }
  export function spcyqueryQyBqbzWjclml(params){
    return axios({
      url: assessCheckApi.spcyqueryQyBqbzWjclml,
      method:'get' ,
      params:params?{...params,fywflcode:fywflcode?fywflcode:(params.fywflcode?params.fywflcode:'')}:{},
      url_1:'outside'
    })
  }
  
  export function spcyupdateMl(params){
    return axios({
      url: assessCheckApi.spcyupdateMl,
      method:'put' ,
      data:params?{...params,fywflcode:fywflcode?fywflcode:(params.fywflcode?params.fywflcode:'')}:{},
      url_1:'outside'
    })
  }
  export function spcyoneKeyUpdateClmlBkck(params){
    return axios({
      url: assessCheckApi.spcyoneKeyUpdateClmlBkck,
      method:'get' ,
      params:params?{...params,fywflcode:fywflcode?fywflcode:(params.fywflcode?params.fywflcode:'')}:{},
      url_1:'outside'
    })
  }
  export function spcyoneKeyUpdateClmlKck(params){
    return axios({
      url: assessCheckApi.spcyoneKeyUpdateClmlKck,
      method:'get' ,
      params:params?{...params,fywflcode:fywflcode?fywflcode:(params.fywflcode?params.fywflcode:'')}:{},
      url_1:'outside'
    })
  }
  export function spcyoneKeyUpdateClmlWsc(params){
    return axios({
      url: assessCheckApi.spcyoneKeyUpdateClmlWsc,
      method:'get' ,
      params:params?{...params,fywflcode:fywflcode?fywflcode:(params.fywflcode?params.fywflcode:'')}:{},
      url_1:'outside'
    })
  }
  export function spcyoneKeyUpdateClmlYsc(params){
    return axios({
      url: assessCheckApi.spcyoneKeyUpdateClmlYsc,
      method:'get' ,
      params:params?{...params,fywflcode:fywflcode?fywflcode:(params.fywflcode?params.fywflcode:'')}:{},
      url_1:'outside'
    })
  }

  
  export function spcydownloadQysqclFile(params){
    return axios({
      url: assessCheckApi.spcydownloadQysqclFile,
      method:'get' ,
      params:params?{...params,fywflcode:fywflcode?fywflcode:(params.fywflcode?params.fywflcode:'')}:{},
      url_1:'outside',
      responseType: 'arraybuffer'
    })
  }
  export function spcySqsxWjjlgetCrossLocalFile(params){
    return axios({
      url: assessCheckApi.spcySqsxWjjlgetCrossLocalFile,
      method:'get' ,
      params:params?{...params,fywflcode:fywflcode?fywflcode:(params.fywflcode?params.fywflcode:'')}:{},
      url_1:'outside',
      responseType: 'arraybuffer'
    })
  }
  
  export function spcydownloadQysqclById(params){
    return axios({
      url: assessCheckApi.spcydownloadQysqclById,
      method:'get' ,
      params:params?{...params,fywflcode:fywflcode?fywflcode:(params.fywflcode?params.fywflcode:'')}:{},
      url_1:'outside',
      responseType: 'arraybuffer'
    })
  }
  export function spcySqsxWjjlgetLocalFileById(params){
    return axios({
      url: assessCheckApi.spcySqsxWjjlgetLocalFileById,
      method:'get' ,
      params:params?{...params,fywflcode:fywflcode?fywflcode:(params.fywflcode?params.fywflcode:'')}:{},
      url_1:'outside',
      responseType: 'arraybuffer'
    })
  }
  
  export function spcygetSummaryOpinionInScyj(params){
    return axios({
      url: assessCheckApi.spcygetSummaryOpinionInScyj,
      method:'get' ,
      params:params?{...params,fywflcode:fywflcode?fywflcode:(params.fywflcode?params.fywflcode:'')}:{},
      url_1:'outside',
    })
  }
  export function spcygetqueryNowBqbzBean(params){
    return axios({
      url: assessCheckApi.spcygetqueryNowBqbzBean,
      method:'get' ,
      params:params?{...params,fywflcode:fywflcode?fywflcode:(params.fywflcode?params.fywflcode:'')}:{},
      url_1:'outside',
    })
  }
  
  export function spcyoneTouchYesScyj(params){
    return axios({
      url: assessCheckApi.spcyoneTouchYesScyj,
      method:'get' ,
      params:params?{...params,fywflcode:fywflcode?fywflcode:(params.fywflcode?params.fywflcode:'')}:{},
      url_1:'outside',
      responseType: 'arraybuffer'
    })
  }
  export function spcyoneTouchNoScyj(params){
    return axios({
      url: assessCheckApi.spcyoneTouchNoScyj,
      method:'get' ,
      params:params,
      url_1:'outside',
      responseType: 'arraybuffer'
    })
  }
  export function spcyselectWjclKck(params){
    return axios({
      url: assessCheckApi.spcyselectWjclKck,
      method:'post' ,
      data:params?{...params,fywflcode:fywflcode?fywflcode:(params.fywflcode?params.fywflcode:'')}:{},
      url_1:'outside',
    })
  }
  
  export function spcyuploadQywjclByQy(params){
    return axios({
      url: assessCheckApi.spcyuploadQywjclByQy,
      method:'post' ,
      data:params,
      url_1:'outside',
    })
  }
  export function spcydeleteQyscQywjcl(params){
    return axios({
      url: assessCheckApi.spcydeleteQyscQywjcl,
      method:'DELETE' ,
      params:params,
      url_1:'outside'
    })
  }
  
  export function spcyqueryWjzgMlByQy(params){
    return axios({
      url: assessCheckApi.spcyqueryWjzgMlByQy,
      method:'get' ,
      params:params,
      url_1:'outside'
    })
  }
  
  export function spcyuploadSqsxFile(params){
    return axios({
      url: assessCheckApi.spcyuploadSqsxFile,
      method:'post' ,
      data:params,
      url_1:'outside',
    })
  }
  
  export function spcySqsxWjjldeleteFileById(params){
    return axios({
      url: assessCheckApi.spcySqsxWjjldeleteFileById,
      method:'DELETE' ,
      params:params,
      url_1:'outside'
    })
  }

  export function spcyqueryWjMlByQy(params){
    return axios({
      url: assessCheckApi.spcyqueryWjMlByQy,
      method:'get' ,
      params:params,
      url_1:'outside'
    })
  }
  
  export function hbjcgetBhbsqsxList(params){
    return axios({
      url: assessCheckApi.hbjcgetBhbsqsxList,
      method:'get' ,
      params:params,
      url_1:'outside'
    })
  }
  export function hbjcqueryHbzsxList(params){
    return axios({
      url: assessCheckApi.hbjcqueryHbzsxList,
      method:'get' ,
      params:params,
      url_1:'outside'
    })
  }
  
  export function spcyselectHbkckcl(params){
    return axios({
      url: assessCheckApi.spcyselectHbkckcl,
      method:'post' ,
      data:params,
      url_1:'outside',
    })
  }

  export function initWjgetBztzFileByQy(params){
    return axios({
      url: assessCheckApi.initWjgetBztzFileByQy,
      method:'get' ,
      params:params,
      url_1:'outside',
    })
  }
  
  export function webOfficeApiopenFileReadOnly(params){
    return axios({
      url: assessCheckApi.webOfficeApiopenFileReadOnly,
      method: 'get',
      params: params,
      url_1:'outside'
    })
  }

  export function spcysaveFlow(data){
    return axios({
      url: assessCheckApi.spcysaveFlow,
      method:'post' ,
      data:data,
      url_1:'outside'
    })
  }
  
  export function spcygenZhpdScyj(params){
    return axios({
      url: assessCheckApi.spcygenZhpdScyj,
      method: 'get',
      params: params,
      url_1:'outside'
    })
  }

  export function initWjgetZhpdScyjDjwc(params){
    return axios({
      url: assessCheckApi.initWjgetZhpdScyjDjwc,
      method: 'get',
      params: params,
      url_1:'outside'
    })
  }

  export function initWjgetZhpdScyjCxbj(params){
    return axios({
      url: assessCheckApi.initWjgetZhpdScyjCxbj,
      method: 'get',
      params: params,
      url_1:'outside'
    })
  }

  export function initWjgetZhpdBgsState(parameter) {
    return axios({
      url:assessCheckApi.initWjgetZhpdBgsState,
      method: 'get',
      params: parameter,
      url_1:'outside'
    })
  }

  export function initWjgetZhpdScyjState(parameter) {
    return axios({
      url:assessCheckApi.initWjgetZhpdScyjState,
      method: 'get',
      params: parameter,
      url_1:'outside'
    })
  }


  export function spcyzhpdShjPrintData(parameter) {
    return axios({
      url:assessCheckApi.spcyzhpdShjPrintData,
      method: 'get',
      params: parameter,
      url_1:'outside'
    })
  }
  export function spcyzhpdclMlList(parameter) {
    return axios({
      url:assessCheckApi.spcyzhpdclMlList,
      method: 'get',
      params: parameter,
      url_1:'outside'
    })
  }
  export function spcyjcqxtzMlList(parameter) {
    return axios({
      url:assessCheckApi.spcyjcqxtzMlList,
      method: 'get',
      params: parameter,
      url_1:'outside'
    })
  }
  export function spcyjsspbgml(parameter) {
    return axios({
      url:assessCheckApi.spcyjsspbgml,
      method: 'get',
      params: parameter,
      url_1:'outside'
    })
  }
  